package com.itheima.blog.admin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "minio")
@Data
public class MinioConfig {
    private String url;

    private String accessKey;
    private String secretKey;
    private String bucket;
    //如果是true，则用的是https而不是http,默认值是true
    private Boolean secure;
}